How to implement Statecharts intuitionistically
نویسنده
چکیده
To the best of our knowledge, this is the first work to present an implementation of Lüttgen and Mendler’s intuitionistic characterisation of Pnueli and Shalev’s step construction. However, the original step construction is faster for most Statecharts, because a non-compositional approach will almost always outperform any compositional one. For incremental code-generation or compositional verification, compositionality is crucial and hence a compositional implementation is required. The next step should be the utilisation of propositional decision procedures instead of BDDs. To compare Pnueli and Shalev’s step construction and Lüttgen and Mendler’s intuitionistic approach on real Statecharts, we have implemented both in C++. The performance was judged using a test suite of different Statecharts. For usual Statecharts Pnueli and Shalev’s step construction was significantly faster than the intuitionistic approach via BDDs. However, for Statecharts with an exponential number of responses it revealed that Lüttgen and Mendler’s approach outperforms the original step construction procedure substantially. Pnueli and Shalev’s Original Step Construction First implementation of Lüttgen and Mendler’s Intuitionistic Semantics
منابع مشابه
Axiomatizing an Algebra of Step Reactions for Synchronous Languages
This paper introduces a novel algebra for reasoning about step reactions in synchronous languages, such as macro steps in Harel, Pnueli and Shalev's Statecharts and instantaneous reactions in Berry's Esterel. The algebra describes step reactions in terms of con gurations which can both be read in a standard operational as well as in a model{ theoretic fashion. The latter arises by viewing con g...
متن کاملFrom the Specification of Multiagent Systems by Statecharts to Their Formal Analysis by Model Checking: Towards Safety-Critical Applications
In order to design and implement multiagent systems, the specification method should be as expressive and comprehensive as possible. Statecharts, which are capable of describing dynamic systems and are widely accepted in the computer science community, are applied and investigated for this objective. In this paper, multiagent systems are studied in the domain of robotic soccer, where the behavi...
متن کاملTowards e cient model checking Statecharts: A Statecharts to Promela Complier
Harel proposes the graphical language statecharts [Har87] for specifying behavior of reactive systems. Statecharts extend Mealy machines by parallelism and hierarchy. The communication mechanism in statecharts is instantaneous broadcast and the concurrency model is maximal parallelism. Statecharts has been supported by the commercial Statemate tool for about 12 years now. There, statecharts are...
متن کاملModelling Hybrid Systems Using Statecharts and Modelica
The present work evaluates the possibility of using the formalism of Statecharts, with hybrid features, as a graphical support to describe the dynamic behaviour of complex systems in Modelica. Implementation issues, according to the Statecharts semantics, are discussed and the advantages of using an equation based language, to implement the state transitions and nested states, are pointed out. ...
متن کاملMapping UML statecharts to java code
The Unified Modeling Language (UML) statechart diagram is used for modeling the dynamic aspects of systems. The UML statechart diagrams include many concepts that are not present in most popular programming languages, like Java or C++. There exists a gap between high level modeling language and a programming language. There is not a one-to-one mapping between a statechart and its implementation...
متن کامل